package com.colorlight.cloud.complete.entity.po;

import com.colorlight.cloud.gateway.api.message.constraint.basics.object.Trans;
import com.colorlight.iot.proto.complete.entity.CompleteEntity;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class RelayTimingParam implements Trans<RelayTimingParam, CompleteEntity.RelayTimingParam> {

    /**
     * 继电器编号
     */
    private String relayNumber;

    /**
     * 是否启用定时控制
     */
    private Boolean enableTiming;

    /**
     * 定时指令参数
     */
    private List<TimingCmd> timingCmd;
}

